package com.gitee.cui.springcloud.storage.service;

/**
 * 库存服务service接口定义
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022-03-26 15:21
 **/
public interface StorageService {

	/**
	 * 减库存
	 * @param productId 商品id
	 * @param count 减库存数量
	 */
	void decrease(Long productId, Integer count);
}
